package br.ufmg.dees.insane.model.geo.halfEdgeDataStructure;

import java.io.Serializable;

public class HalfEdge implements Serializable{

	/**   */
	private static final long serialVersionUID = 1L;
	
	private String id;
	private Edge edge;
	private Vertex vertex;
	private Loop loop;
	
	/**
	 * 
	 */
	public HalfEdge() {
	}
	/**
	 * 
	 */
	public HalfEdge(Vertex aVertex,Loop aloop, Edge aEdge) {
		//the origin
		this.vertex = aVertex;
		//theincident loop
		this.loop = aloop;
		this.edge = aEdge;
	}
	public HalfEdge(Vertex aVertex, Edge aEdge) {
		//the origin
		this.vertex = aVertex;
		this.edge = aEdge;
	}
	
	/**
	 * @return Returns the edge.
	 */
	public Edge getEdge() {
		return edge;
	}

	/**
	 * @param edge The edge to set.
	 */
	public void setEdge(Edge edge) {
		this.edge = edge;
	}

	/**
	 * @return Returns the vertex.
	 */
	public Vertex getVertex() {
		return vertex;
	}

	/**
	 * @param vertex The vertex to set.
	 */
	public void setVertex(Vertex vertex) {
		this.vertex = vertex;
	}
//	*****************************************************************************
	/**
	 * @return Returns the loop.
	 */
	public Loop getLoop() {
		return loop;
	}
	/**
	 * @param loop The loop to set.
	 */
	public void setLoop(Loop loop) {
		this.loop = loop;
	}
	/**
	 * @return Returns the id.
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id The id to set.
	 */
	public void setId(String id) {
		this.id = id;
	}
	
}
